<html>
<body>
	<div class="panel-body">
		<div id="toolbar" class="btn-group">
			<div class="btn-group">
				<a class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i
					class="fa fa-plus"></i> 添加</a>
				<ul class="dropdown-menu" role="menu" id="file_add">
					<li class="dropdown-item upload-file"><a><i class="fa fa-file"></i>&nbsp;上传文件</a></li>
					<li class="dropdown-item upload-dir"><a><i class="fa fa-folder"></i>&nbsp;上传文件夹</a></li>
					<li class="dropdown-item upload-create"><a><i
							class="fa fa-plus-square"></i>&nbsp;新建文件夹</a></li>
				</ul>
			</div>
			<a id="file_edit" class="btn btn-default"><i class="fa fa-edit"></i>
				重命名</a> <a id="file_upload" class="btn btn-default"><i
				class="fa fa-retweet"></i> 移动</a> <a id="file_delete"
				class="btn btn-default"><i class="fa fa-times"></i> 删除</a>
		</div>
		<!-- 文件目录导航 -->
		<div id="div_file_list">
			<div style="height: 30px; color: #888888;">所有文件</div>
			<ul id="files_list">
				<#if files??>
				<#list files as file> 
					<li><span class="folder ${file.suffix!}"></span><span class="folder-font"><a href="#">${file.fileName!}</a></span></li>
				</#list>
				</#if>
			</ul>
			<div
				style="height: 30px; padding-left: 10px; position: absolute; bottom: 0px;">
				<p id="my_file_detail" style="color: #666666;"></p>
			</div>
		</div>

		<div id="context-menu">
			<ul class="dropdown-menu" role="menu">
				<li onclick="MyFile.myMenuOperating('download')"><a>下载</a></li>
				<li onclick="MyFile.myMenuOperating('onlinefile')"><a>预览</a></li>
				<li onclick="MyFile.toSelectModal('move')"><a>移动</a></li>
				<li onclick="MyFile.toSelectModal('rename')"><a>重命名</a></li>
				<li onclick="MyFile.myMenuOperating('delete')"><a>删除</a></li>
			</ul>
		</div>
	</div>
	<script src="${base!}/formal/assets/system/file/file_management.js"
		type="text/javascript"></script>
</body>
</html>